<?php
if(!defined('BLOG'))exit('不作死就不会死');
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/1/16
 * Time: 21:41
 */
class index{
    private $db;
    public function __construct(){
        $this->db = base::load_model('navigation_model');
    }
    public function ajax_init(){
        $categorys = $this->db->selectCached();
        echo json_encode($categorys);
    }
}